import {HANDLE_LIST,MOVIES_LIST,MOVIES_DETAIL} from './mutation-type'
import listData from "../data/list-data"
export default {
    getData({commit}){
        commit(HANDLE_LIST,listData)
    },
    getDataMovies({commit}){
        commit(MOVIES_LIST,listData)
    },
    getMovieDetail({commit},data){
        commit(MOVIES_DETAIL,data)
    }
}